﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace GA_SCHED_DESIGNER
{
    /// <summary>
    /// Interaction logic for SettingsWindow.xaml
    /// </summary>
    public partial class SettingsWindow : Window
    {
        public SettingsWindow()
        {
            InitializeComponent();

            List<TestData> pens = new List<TestData>()
            {
                new TestData()
                {
                    Name = "Штраф 1",
                    Score = 300
                },
                new TestData()
                {
                    Name = "Штраф 2",
                    Score = 500
                }
                ,new TestData()
                {
                    Name = "Штраф 3",
                    Score = 1000
                }
            };

            dataGrid1.ItemsSource = pens;
        }

        
    }

    public class TestData
    {
        public string Name { get; set; }
        public int Score { get; set; }
    }
}
